package com.yang.service;

import com.yang.pojo.UserInfo;
import com.yang.responseEntity.Employeeleave;
import com.yang.responseEntity.Interns;
import com.yang.responseEntity.regularEmployee;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface UserInfoService {

	UserInfo findByUsername(String username);

	UserInfo findById(Integer id);

    List<UserInfo> getUserInfoListByPage(String username);

	int deleteUserInfoById(Integer id);

    UserInfo findByPhone(String phone);

	int save(UserInfo userInfo);

	int update(UserInfo userInfo);

    List<regularEmployee> getUserInfoList(String username , Integer workType);

	List<Interns> getUserInfoListInterns(String username , Integer workType);

	List<Employeeleave> getUserInfoListLeave(String username);
}
